<?php echo '<?php'; ?>

namespace App\Models;

use App\Models\Auto\Base{{$class}};

@foreach($tableInfo['columns'] as $column)
    @if($column['name']=="deleted_at")
        use Illuminate\Database\Eloquent\SoftDeletes;
    @endif
@endforeach

class {{$class}} extends Base{{$class}} {
@foreach($tableInfo['columns'] as $column)
    @if($column['name']=="deleted_at")
    use SoftDeletes;
    @endif
@endforeach

}